package com.ruoyi.manage.domain;

import java.util.List;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 术中清点记录最外层 记录第几次时间等对象 surgery_device
 * 
 * @author zww
 * @date 2025-07-08
 */
@Data
public class SurgeryDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long surgeryDeviceId;

    /** 手术计划ID */
    @Excel(name = "手术计划ID")
    private Long surgeryId;

    /** 清点开台事件 */
    @Excel(name = "清点开台事件")
    private Long beforeoperationId;

    /** 术中增减事件 */
    @Excel(name = "术中增减事件")
    private String operaddId;

    /** 关体腔前事件 */
    @Excel(name = "关体腔前事件")
    private Long preantralId;

    /** 关体腔后事件 */
    @Excel(name = "关体腔后事件")
    private Long cavityId;

    /** 缝皮后事件 */
    @Excel(name = "缝皮后事件")
    private Long aftersewingskinId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 0正常1删除 */
    private String delFlag;

    /** 术中清点记录信息 */
    private List<SurgeryDeviceDetail> surgeryDeviceDetailList;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surgeryDeviceId", getSurgeryDeviceId())
            .append("surgeryId", getSurgeryId())
            .append("beforeoperationId", getBeforeoperationId())
            .append("operaddId", getOperaddId())
            .append("preantralId", getPreantralId())
            .append("cavityId", getCavityId())
            .append("aftersewingskinId", getAftersewingskinId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("surgeryDeviceDetailList", getSurgeryDeviceDetailList())
            .toString();
    }
}
